package com.yanqu.road.entity.activity.shushan.config;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.HashMap;
import java.util.Map;

/**
 * @Description
 * @Author cwq
 * @Data 2022/3/8 14:26
 */
@FieldTypeAnnotation(tableName = "t_s_activity_shushan_event")
public class ShuShanEventConfig {

    @FieldTypeAnnotation(desc = "活动ID", update = true, select = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "id", update = true)
    private int id;
    @FieldTypeAnnotation(desc = "type")
    private int type;
    @FieldTypeAnnotation(desc = "icon")
    private String icon;
    @FieldTypeAnnotation(desc = "reward")
    private String reward;
    @FieldTypeAnnotation(desc = "unlock")
    private int unlock;

    /**
     * 选项奖励
     */
    private Map<Integer, String> optionsRewardMap = new HashMap<>();

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public int getUnlock() {
        return unlock;
    }

    public void setUnlock(int unlock) {
        this.unlock = unlock;
    }

    public Map<Integer, String> getOptionsRewardMap() {
        return optionsRewardMap;
    }
}
